package com.miyuan.wm.response;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @ClassName QueryUserOperationLogResponseVo
 * @Description 用户操作日志返回参数类
 */
@Data
@ApiModel(value = "用户操作日志返回参数类", description = "用户操作日志")
public class QueryUserOperationLogsResponseVo implements Serializable {

    @ApiModelProperty(value = "数据库Id", notes = "数据库Id")
    private int id;

    @ApiModelProperty(value = "用户Id", notes = "用户Id")
    private int userId;

    @ApiModelProperty(value = "用户名", notes = "用户名")
    private String userName;

    @ApiModelProperty(value = "操作名称", notes = "操作名称")
    private String operationName;

    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "操作时间", notes = "操作时间")
    private Date operationTime;

    @ApiModelProperty(value = "操作结果", notes = "操作结果")
    private String operationResult;
}
